import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/pages/home/Home'
import Rate from '@/pages/home/Rate'
import Test from '@/pages/Test'
import WestRunningScreen from '@/pages/runingScreen/WestRunningScreen'
import EastRunningScreen from '@/pages/runingScreen/EastRunningScreen'
import CrudePage from '@/pages/customFinancial/CrudePage'
import FundPage from '@/pages/customFinancial/FundPage'
import StockPage from '@/pages/customFinancial/StockPage'
import ExchangePage from '@/pages/customFinancial/ExchangePage'
import GoldPage from '@/pages/customFinancial/GoldPage'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'Home',
      component: Home
    },
    {
      path: '/rate',
      name: 'Rate',
      component: Rate
    },
    {
      path: '/westScreen/:jsonName/:sceneId',
      name: 'WestRunningScreen',
      component: WestRunningScreen
    },
    {
      path: '/eastScreen/:jsonName/:sceneId',
      name: 'EastRunningScreen',
      component: EastRunningScreen
    },
    {
      path: '/test/:jsonName',
      name: 'Test',
      component: Test
    },
    {
      path: '/crudePage/:jsonName/:sceneId',
      name: 'Test',
      component: CrudePage
    },
    {
      path: '/fundPage/:jsonName/:sceneId',
      name: 'Test',
      component: FundPage
    },
    {
      path: '/stockPage/:jsonName/:sceneId',
      name: 'Test',
      component: StockPage
    },
    {
      path: '/exchangePage/:jsonName/:sceneId',
      name: 'Test',
      component: ExchangePage
    },
    {
      path: '/goldPage/:jsonName/:sceneId',
      name: 'Test',
      component: GoldPage
    }
  ]
})
